package com.example.oj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.oj.entity.CompetitionResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.oj.entity.dto.competition.ResultQueryRequest;
import com.example.oj.entity.vo.CompetitionResultVO;

import java.util.List;

/**
* @author 28651
* @description 针对表【competitionResult】的数据库操作Service
* @createDate 2024-05-04 15:04:02
*/
public interface CompetitionResultService extends IService<CompetitionResult> {

  void createResult(Long id);

  Page<CompetitionResultVO> selectResultById(ResultQueryRequest request);

  CompetitionResultVO getCompetitionResultVO(CompetitionResult entity);
}
